#include <stdio.h>
#include <stdlib.h>
#include "list.h" // 请不要删除，否则检查不通过

void lnk_merge(LinkList A, LinkList B, LinkList C) {
    A = A -> next; 
    B = B -> next; // 这为啥啊，我不理解啊
    while(A && B) {
        LinkList tA = A -> next, tB = B -> next;
        C -> next = A;
        A -> next = B;
        C = B;
        A = tA; B = tB;
    }
    if(!A) A = B;
    C -> next = A;
}